(Minor & UI) Always show scroll bar for sidebar#3396
(Minor & UI) Always show scroll bar for sidebar#3396toshokanneko merged 2 commits intoOdyseeTeam:masterfrom
Conversation
📝 WalkthroughWalkthroughThe navigation component's overflow behavior is simplified by changing the main container's overflow from auto to scroll and removing responsive media query blocks that previously adjusted overflow visibility and width on hover. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
toshokanneko
left a comment
There was a problem hiding this comment.
I'm not really sure about this. The scrollbar is hidden on purpose. Just like on YouTube and many other websites.
|
Well, yeah i half-agree, personally i've not found it that distracting. What about only always showing it when the sidebar is maximized? Let me know if that sounds okay. |
|
Showing it when it's open definitely sounds better because you can't really get into that state by accident. Thanks btw. 😉 |
c68f94e to
86069db
Compare
Closes
This will close issue #2875
What is the current behavior?
The sidebar's scrollbar is only visible when hovering it, which can be confusing for some whether you can scroll or not.
What is the new behavior?
The sidebar's scrollbar will always be visible if there is overflowing.
Other information
Before:
After:
PR Checklist
Toggle...
What kind of change does this PR introduce?
Please check all that apply to this PR using "x":
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.